package com.funo.business.service;

import java.util.List;

import com.funo.business.entities.Product;
import com.funo.business.entities.ProductItem;
import com.funo.common.pojo.PageResult;
import com.funo.common.pojo.QueryCondition;

public interface ProductService {
	public Integer saveProductItem(ProductItem item);
	public Integer updateProductItem(ProductItem item);
	public ProductItem getProductItem(String itemId);
	public List<ProductItem> getItemsByUser(String userId);
	public void delProductItem(String itemId);
	
	public Integer saveProduct(Product product);
	public Integer updateProduct(Product product);
	public void delProduct(String productId);
	public PageResult<Product> listPage(QueryCondition condition,Product product);
	public Product getProduct(String productId);
}
